
declare -A debian_version
debian_version=( [9]='stretch' [10]='buster' )

echo "deb http://mirrors.aliyun.com/debian ${debian_version[${DEBIAN}]} main contrib non-free
deb-src http://mirrors.aliyun.com/debian ${debian_version[${DEBIAN}]} main contrib non-free
deb http://mirrors.aliyun.com/debian ${debian_version[${DEBIAN}]}-updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian ${debian_version[${DEBIAN}]}-updates main contrib non-free
deb http://mirrors.aliyun.com/debian-security ${debian_version[${DEBIAN}]}/updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian-security ${debian_version[${DEBIAN}]}/updates main contrib non-free" > /etc/apt/sources.list


bash apt_install.sh $1